<template>
  <el-container>
    <Sidebar></Sidebar>
    <el-container direction="vertical">
      <Header></Header>
      <el-main><router-view></router-view></el-main>
    </el-container>
  </el-container>
</template>

<script setup>
import Header from '../components/mainbox/Header.vue'
import Sidebar from '../components/mainbox/Sidebar.vue'
</script>

<style lang="scss" scoped>
.el-main {
  overflow: auto;
  height: calc(100vh - 40px);
}
</style>